package com.ozo.cloud.common.captcha;

import com.ozo.cloud.common.captcha.config.BehaviorCaptchaServiceAutoConfiguration;
import com.ozo.cloud.common.captcha.config.BehaviorCaptchaStorageAutoConfiguration;
import com.ozo.cloud.common.captcha.properties.BehaviorCaptchaProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 验证码自动配置
 *
 * @author qiangesoft
 * @date 2024-07-03
 */
@Configuration
@EnableConfigurationProperties(BehaviorCaptchaProperties.class)
@ComponentScan("com.ozo.cloud.common.captcha")
@Import({BehaviorCaptchaServiceAutoConfiguration.class, BehaviorCaptchaStorageAutoConfiguration.class})
public class CaptchaAutoConfiguration {
}
